package com.gaggle.dao;

import java.util.Collection;


public interface BaseDao<T> {
	T create(T entity);

	T saveOrUpdate(T entity);

	void delete(T entity);
	
	Collection<T> findByName(String name);

}
